Integrand size = 25, antiderivative size = 28 \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^3 \sqrt {a+b x}}{3 \sqrt {-a-b x}} \]
[Out]
Time = 0.00 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {23, 30} \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^3 \sqrt {a+b x}}{3 \sqrt {-a-b x}} \]
[In]
[Out]
Rule 23
Rule 30
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {a+b x} \int x^2 \, dx}{\sqrt {-a-b x}} \\ & = \frac {x^3 \sqrt {a+b x}}{3 \sqrt {-a-b x}} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 28, normalized size of antiderivative = 1.00 \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\frac {x^3 \sqrt {a+b x}}{3 \sqrt {-a-b x}} \]
[In]
[Out]
Time = 0.60 (sec) , antiderivative size = 23, normalized size of antiderivative = 0.82
method | result | size |
gosper | \(\frac {x^{3} \sqrt {b x +a}}{3 \sqrt {-b x -a}}\) | \(23\) |
default | \(-\frac {\sqrt {-b x -a}\, x^{3}}{3 \sqrt {b x +a}}\) | \(23\) |
risch | \(-\frac {i \sqrt {\frac {-b x -a}{b x +a}}\, \sqrt {b x +a}\, x^{3}}{3 \sqrt {-b x -a}}\) | \(42\) |
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.54 \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=-\frac {\sqrt {-b^{2}} x^{3}}{3 \, b} \]
[In]
[Out]
\[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\int \frac {x^{2} \sqrt {a + b x}}{\sqrt {- a - b x}}\, dx \]
[In]
[Out]
Exception generated. \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\text {Exception raised: RuntimeError} \]
[In]
[Out]
Result contains complex when optimal does not.
Time = 0.29 (sec) , antiderivative size = 33, normalized size of antiderivative = 1.18 \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=-\frac {i \, {\left ({\left (b x + a\right )}^{3} - 3 \, {\left (b x + a\right )}^{2} a + 3 \, {\left (b x + a\right )} a^{2}\right )}}{3 \, b^{3}} \]
[In]
[Out]
Timed out. \[ \int \frac {x^2 \sqrt {a+b x}}{\sqrt {-a-b x}} \, dx=\int \frac {x^2\,\sqrt {a+b\,x}}{\sqrt {-a-b\,x}} \,d x \]
[In]
[Out]